<%--
  Created by IntelliJ IDEA.
  User: gg
  Date: 14-5-16
  Time: 上午9:48
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="header.jsp"></jsp:include>
<!-- form wizard -->
<script src="${ctx}/resources/plugin/datepicker/jquery-ui-1.10.4.datepicker.js"></script>
<script src="${ctx}/resources/plugin/datepicker/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<script src="${ctx}/ace/assets/js/fuelux/fuelux.wizard.min.js"></script>
<script src="${ctx}/ace/assets/js/jquery.validate.min.js"></script>
<script src="${ctx}/ace/assets/js/additional-methods.min.js"></script>
<script src="${ctx}/js/common/message_cn.js"></script>
<script src="${ctx}/js/common/validate_default.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".datepicker").datepicker({
                autoSize: true,
                changeMonth: true,
                changeYear: true,
                autoclose: true,
                showOtherMonths: true,
                selectOtherMonths: false
                //            isRTL:true,
                /*   showButtonPanel: true,
                 beforeShow: function() {
                 //change button colors
                 var datepicker = $(this).datepicker( "widget" );
                 setTimeout(function(){
                 var buttons = datepicker.find('.ui-datepicker-buttonpane')
                 .find('button');
                 buttons.eq(0).addClass('btn btn-xs');
                 buttons.eq(1).addClass('btn btn-xs btn-success');
                 buttons.wrapInner('<span class="bigger-110" />');
                 }, 0);
                 }*/
            }).next().on(ace.click_event, function () {
                        $(this).prev().focus();
                    });
        })
    </script>

